<f:if condition="{model.showElement}">
	<f:then>
		<f:if condition="{model.layout.noFieldsetTag}">
			<f:then>
				<f:format.raw>{model.layout.elementOuterWrap.0}</f:format.raw>
				<f:format.raw>{model.layout.containerInnerWrap.0}</f:format.raw>
					<f:for each="{model.childElements}" as="element">
						<f:render partial="{themeName}/Show/{element.partialPath}" arguments="{model: element, themeName: themeName}" />
					</f:for>
				<f:format.raw>{model.layout.containerInnerWrap.1}</f:format.raw>
				<f:format.raw>{model.layout.elementOuterWrap.1}</f:format.raw>
			</f:then>
			<f:else>
				<f:format.raw>{model.layout.elementOuterWrap.0}</f:format.raw>
					<fieldset
					<f:for each="{model.htmlAttributes}" as="htmAttributeValue" key="htmAttributeKey">
						{htmAttributeKey}="{htmAttributeValue}"
					</f:for>
					>
						<f:if condition="{model.additionalArguments.legend}">
							<legend>{model.additionalArguments.legend}</legend>
						</f:if>

						<f:format.raw>{model.layout.containerInnerWrap.0}</f:format.raw>
							<f:for each="{model.childElements}" as="element">
								<f:render partial="{themeName}/Show/{element.partialPath}" arguments="{model: element, themeName: themeName}" />
							</f:for>
						<f:format.raw>{model.layout.containerInnerWrap.1}</f:format.raw>
					</fieldset>
				<f:format.raw>{model.layout.elementOuterWrap.1}</f:format.raw>
			</f:else>
		</f:if>
	</f:then>
	<f:else>
		<f:for each="{model.childElements}" as="element">
			<f:render partial="{themeName}/Show/{element.partialPath}" arguments="{model: element, themeName: themeName}" />
		</f:for>
	</f:else>
</f:if>